package com.tjshop.android.model.tj.json;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.tjshop.android.model.BaseObject;

public class SubCatagory extends BaseObject {
	private String first_id;// "first_id":"1",
	private String second_id;// "second_id":"94",
	private String name;// "name":"生发脱发"

	public String getFirst_id() {
		return first_id;
	}

	public void setFirst_id(String first_id) {
		this.first_id = first_id;
	}

	public String getSecond_id() {
		return second_id;
	}

	public void setSecond_id(String second_id) {
		this.second_id = second_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void parse(JSONObject category) {
		setFirst_id(getString(category, "first_id"));
		setName(getString(category, "name"));
		setSecond_id(getString(category, "second_id"));
	}

	@Override
	public void parse(JSONArray data) {
		// TODO Auto-generated method stub

	}

}
